package com.fjut.zr.judge_system.POJO.PO;

import java.util.Objects;

public class TVjStatusPO {
    private int id;
    private int vjId;
    private String ojName;
    private Integer vjQueue;
    private String vjStatus;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getVjId() {
        return vjId;
    }

    public void setVjId(int vjId) {
        this.vjId = vjId;
    }

    public String getOjName() {
        return ojName;
    }

    public void setOjName(String ojName) {
        this.ojName = ojName;
    }

    public Integer getVjQueue() {
        return vjQueue;
    }

    public void setVjQueue(Integer vjQueue) {
        this.vjQueue = vjQueue;
    }

    public String getVjStatus() {
        return vjStatus;
    }

    public void setVjStatus(String vjStatus) {
        this.vjStatus = vjStatus;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TVjStatusPO that = (TVjStatusPO) o;
        return id == that.id &&
                Objects.equals(ojName, that.ojName) &&
                Objects.equals(vjQueue, that.vjQueue) &&
                Objects.equals(vjStatus, that.vjStatus);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, ojName, vjQueue, vjStatus);
    }
}
